package com.example.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Appointment {
    private Integer id;
    private Integer userId;
    private Integer roomId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date time;
    private Integer status;//(0:待确认 1:已确认 2:已完成 3:已取消)
    private String remark;
    private String phone;
    private Date createTime;
    private String cancelReason;
    private Double roomPrice;
    private String roomName;
    private String roomImageUrl;
}
